require(['./config'], () => {
    require(['template', 'swiper', 'header', 'footer', 'jquery',], (template, swiper) => {
        class Index {
            constructor() {
                this.init()
            }
            init() {
                var mySwiper = new Swiper('.swiper-container', {
                    direction: 'vertical',
                    loop: true,
                    direction: 'horizontal',
                    pagination: '.swiper-pagination',
                    nextButton: '.swiper-button-next',
                    prevButton: '.swiper-button-prev',
                    autoplay: 2000,
                    speed: 1500,
                    paginationClickable: true,
                })
            }
        }
        new Index()
    })

})







